//
//  DABackBookTableViewCell.h
//  DABook
//
//  Created by DreamArts on 16/4/22.
//  Copyright © 2016年 lidongyang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DAHomePageTimeLineModel.h"
@class DABackBookModel;
@class DARateView;
@class DALikeAndComment;
@class DACommentButton;
@class DACommentView;

/** 协议*/
@protocol showBookDetail <NSObject>
/** 协议方法*/
- (void)showBookDetail:(NSString *)bookID;

/** 页面跳转*/
- (void)backCellTurnPersonalPageWithUserID:(NSString *)userId;
@end
@interface DABackBookTableViewCell : UITableViewCell
@property (nonatomic, strong) DAHomePageTimeLineModel *timelineModel;
@property (weak, nonatomic) IBOutlet DARateView *rateView;
/** 设置代理人*/
@property (nonatomic, weak) id<showBookDetail>delegate;
@property (nonatomic, strong) NSMutableArray *commentArray;
@property (nonatomic, strong) DALikeAndComment *likeAndCommentView;
@property (nonatomic) BOOL isSelectLikeAndCommentView;
@property (weak, nonatomic) IBOutlet DACommentButton *CommentButton;
@property (weak, nonatomic) IBOutlet DACommentView *commentView;
@property (nonatomic, strong) NSIndexPath *cellIndexPath;

@end
